package org.example.erpapispringweb.security;

public class Token {
    private String accessToken;
    private Integer expiresIn=15*60;

    public Token(String accessToken) {
        this.accessToken = accessToken;
    }

    public Token(String accessToken, Integer expiresIn) {
        this.accessToken = accessToken;
        this.expiresIn = expiresIn;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Integer getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(Integer expiresIn) {
        this.expiresIn = expiresIn;
    }
}
